package com.company.cloud.sdk.weixin.mp.enums;

public enum WxMpApiType {


    /**获取access_token（公众号和小程序均可以使用AppID和AppSecret调用本接口来获取access_token）*/
    Access_Token("/cgi-bin/token"),

    /**jsapi_ticket*/
    Jsapi_Ticket("/cgi-bin/ticket/getticket"),

    /**通过code换取网页授权页面access_token*/
    Code2AccessToken("/sns/oauth2/access_token"),

    /**刷新页面access_token*/
    RefreshToken("/sns/oauth2/refresh_token"),

    /**检验页面access_token*/
    AuthToken("/sns/auth"),

    /**用户信息*/
    UserInfo("/sns/userinfo"),




    ;


    private final String type;

    WxMpApiType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    @Override
    public String toString() {
        return type;
    }

}
